home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sheriffa / makehelp.bat < prev    next >
Encoding:
DOS Batch File  |  1997-09-01  |  1.4 KB  |  40 lines

  1. @echo off
  2. REM -- First make map file from Microsoft Visual C++ generated resource.h
  3. echo // MAKEHELP.BAT generated Help Map file.  Used by SLSDEMO.HPJ. >"hlp\SlsDemo.hm"
  4. echo. >>"hlp\SlsDemo.hm"
  5. echo // Commands (ID_* and IDM_*) >>"hlp\SlsDemo.hm"
  6. makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\SlsDemo.hm"
  7. echo. >>"hlp\SlsDemo.hm"
  8. echo // Prompts (IDP_*) >>"hlp\SlsDemo.hm"
  9. makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\SlsDemo.hm"
  10. echo. >>"hlp\SlsDemo.hm"
  11. echo // Resources (IDR_*) >>"hlp\SlsDemo.hm"
  12. makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\SlsDemo.hm"
  13. echo. >>"hlp\SlsDemo.hm"
  14. echo // Dialogs (IDD_*) >>"hlp\SlsDemo.hm"
  15. makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\SlsDemo.hm"
  16. echo. >>"hlp\SlsDemo.hm"
  17. echo // Frame Controls (IDW_*) >>"hlp\SlsDemo.hm"
  18. makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\SlsDemo.hm"
  19. REM -- Make help for Project SLSDEMO
  20.  
  21.  
  22. echo Building Win32 Help files
  23. start /wait hcw /C /E /M "hlp\SlsDemo.hpj"
  24. if errorlevel 1 goto :Error
  25. if not exist "hlp\SlsDemo.hlp" goto :Error
  26. if not exist "hlp\SlsDemo.cnt" goto :Error
  27. echo.
  28. if exist Debug\nul copy "hlp\SlsDemo.hlp" Debug
  29. if exist Debug\nul copy "hlp\SlsDemo.cnt" Debug
  30. if exist Release\nul copy "hlp\SlsDemo.hlp" Release
  31. if exist Release\nul copy "hlp\SlsDemo.cnt" Release
  32. echo.
  33. goto :done
  34.  
  35. :Error
  36. echo hlp\SlsDemo.hpj(1) : error: Problem encountered creating help file
  37.  
  38. :done
  39. echo.
  40.